package com.zhuangxiaoyan.helloworld.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Classname BeanNameController
 * @Description TODO
 * @Date 2022/5/5 22:18
 * @Created by xjl
 */
@Component("/beanName.do")
public class BeanNameController implements Controller {
    @Override
    public ModelAndView handleRequest(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception {
        System.out.println("beanName………………");
        return null;
    }
}
